package com.zjk.result;

import lombok.Data;

/**
 * @author: gfk
 * @create: 2022/10/31
 * @Description:
 * @FileName: ResultResponse
 * @History:
 * @自定义内容：
 */
@Data
public class ResultResponse {

    private boolean flag;

    private String msg;

    private Object data;

    public ResultResponse() {
    }

    public ResultResponse(boolean flag, String msg, Object data) {
        this.flag = flag;
        this.msg = msg;
        this.data = data;
    }

    public ResultResponse(boolean flag, String msg) {
        this.flag = flag;
        this.msg = msg;
    }
}
